package com.gc.server.vo.down;


import lombok.Data;
import java.util.Date;
import com.alibaba.excel.annotation.*;
import java.io.Serializable;



import com.gc.server.entity.DicTypeEntity;
import com.gc.server.vo.DicTypeVo;

                    
/**
 * 字典类型实体
 * 表名 dic_type
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Mon Dec 06 17:50:24 CST 2021
 */
@Data
public class DicTypeDown implements Serializable {
    @ExcelIgnore
    private static final long serialVersionUID = 1L;

                        //
            @ExcelProperty("")
            private Long id;
        
                        //名称
            @ExcelProperty("名称")
            private String name;
        
                        //文字
            @ExcelProperty("文字")
            private String label;
        
                        //描述
            @ExcelProperty("描述")
            private String remark;
        
                        //排序
            @ExcelProperty("排序")
            private Integer sort;
        
    
    public DicTypeDown() {

    }

    public DicTypeDown(DicTypeVo vo) {
        DicTypeEntity entity = vo.getEntity();
                                    this.setId(entity.getId());
            
                                    this.setName(entity.getName());
            
                                    this.setLabel(entity.getLabel());
            
                                    this.setRemark(entity.getRemark());
            
                                    this.setSort(entity.getSort());
            
            }


}
